package com.proxy.autoclick.main;

import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;

import com.proxy.autoclick.common.util.SpringBeanUtil;
import com.proxy.autoclick.ui.layout.MainFrame;


public class AutoclickMain {
    
    public static void main(String [] args)
    {
        ApplicationContext context = new ClassPathXmlApplicationContext(
                "applicationContext.xml");
        SpringBeanUtil.setApplicationContext(context);
        MainFrame mainFrame = (MainFrame) context.getBean("mainFrame");
        mainFrame.setVisible(true);
        
    }

}
